home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
OS2
/
BUBBA03.ARJ
/
IBMLOG.TPL
< prev
next >
Wrap
Text File
|
1992-03-21
|
2KB
|
108 lines
echo "\rInitializing..."
echo "\rAttempting to dial out..."
output "+++\r"
output "ATH\r"
input 5 "OK"
output @INITSTRING
input 5 "OK"
:DIALIT
set count 5
:REDIAL
echo "\rAttempting to dial out..."
output @TNUMBER
input 60 "CONNECT"
if success goto DOBBS
reinput "CONNECT"
if success goto DOBBS
if count goto REDIAL
goto NOGO
:DOBBS
onlinetest "on"
set count 5
:LOADBBS
input 20 "Welcome"
if offline goto NOGO
if success goto LOGSET
reinput "First"
if success goto OUTFNAME
reinput "Welcome"
if success goto LOGSET
output "\r"
if count goto LOADBBS
goto NOGO
:LOGSET
set count 5
:FNAME
input 10 "First"
if offline goto NOGO
if success goto OUTFNAME
reinput "First"
if success goto OUTFNAME
output "\r"
if count goto FNAME
goto NOGO
:OUTFNAME
output @FIRSTNAME
if offline goto NOGO
set count 5
:LNAME
input 10 "Last"
if offline goto NOGO
if success goto OUTLNAME
reinput "Last"
if success goto OUTLNAME
reinput "First"
if success goto OUTFNAME
output "\r"
if count goto LNAME
goto NOGO
:OUTLNAME
output @LASTNAME
if offline goto NOGO
set count 5
:PASSWORD
input 10 "Password"
if offline goto NOGO
if success goto OUTPASS
reinput "Password"
if success goto OUTPASS
reinput "First"
if success goto OUTFNAME
output "\r"
if count goto PASSWORD
goto NOGO
:OUTPASS
output @PASWORD
if offline goto NOGO
set count 15
:PETC1
set %outtype "n"
input 10 "More"
if offline goto NOGO
if success goto SENDIT
reinput "execute"
if success goto DONE
set %outtype "\r"
:SENDIT
output %outtype
if count goto PETC1
goto NOGO
:DONE
exit 0
:NOGO
exit 1